<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>
<body>
    <!-- <script type="module">
        // 1.通用的导入方式
        // 引入m1.js模块的内容
        // import * as m1 from './js/m1.js'
        // import * as m2 from './js/m2.js'
        // import * as m3 from './js/m3.js'
        // console.log(m1);//出现跨域问题 安装live serve插件 右键open with live Serve打开
        // console.log(m2);
        // console.log(m3);
        // m3.default.change();//改变你

        // 2.解构赋值形式
        import {school,teach} from './js/m1.js'
        import {school as m2School,findJob} from './js/m2.js'
        console.log(school);
        console.log(teach);

        console.log(m2School);
        console.log(findJob);

        // 3.简便形式，只针对默认暴露
        import m3 from './js/m3.js'
        console.log(m3);
    </script> -->

    <script src="./js/app.js" type="module">

    </script>
</body>
</html>